package com.liming.gateway;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * 网关启动类
 * @Author LiMing
 * @Date 2024/12/5
 */
@SpringBootApplication(scanBasePackages = {
        "com.liming.gateway",
        "com.liming.common.config",
        "com.liming.service.redis"})
@EnableDiscoveryClient
@EnableConfigurationProperties
public class GatewayApplication {
    public static void main(String[] args) {
        SpringApplication.run(GatewayApplication.class, args);
    }
}
